package com.onion.core.entity;

import java.io.Serializable;
import java.util.Date;

public class AbstractEntity implements Created, Modified, Version, Serializable {

    private static final long serialVersionUID = -1968990672574043527L;

    private Long version;
    private String creator;
    private Long created;
    private String modifier;
    private Long modified;

    @Override
    public Long getCreated() {
        return this.created;
    }
    @Override
    public void setCreated(Long created) {
        this.created=created;
    }

    @Override
    public String getCreator() {
        return this.creator;
    }
    @Override
    public void setCreator(String creator) {
        this.creator=creator;
    }

    @Override
    public Long getModified() {
        return this.modified;
    }
    @Override
    public void setModified(Long modified) {
        this.modified=modified;
    }

    @Override
    public String getModifier() {
        return this.modifier;
    }
    @Override
    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    @Override
    public Long getVersion() {
        return this.version;
    }
    @Override
    public void setVersion(Long version) {
        this.version = version;
    }

}